//
//  SchoolListModel.m
//  huashiedu
//
//  Created by oceans on 2018/8/30.
//  Copyright © 2018年 hema. All rights reserved.
//

#import "SchoolListModel.h"

@implementation SchoolListModel

- (instancetype)initWithDic:(NSDictionary *)dic {
    
    self = [super init];
    if (self) {
        _address_detail = [dic objectForKey:@"address_detail"];
        _cover = [dic objectForKey:@"cover"];
        _grade = [[dic objectForKey:@"grade"] intValue];
        __id = [[dic objectForKey:@"id"] intValue];
        _name = [dic objectForKey:@"name"];
        _region = [dic objectForKey:@"region"];
        _link = [dic objectForKey:@"link"];
    }
    return self;
    return self;
}

@end
